package megrez.mail.sender.domain;

/**
 * 内容类型
 *  
 * @author Lucky Yang
 * @since 2.6.9
 */
public enum MailContentType {
    TEXT("文本模板"),
    GROOVY("Groovy标记模板"),
    THYMELEAF("Thymeleaf模板"),
    FREEMARKER("Freemarker模板"),
    PUG4J("Pug4j模板");

    public final String note;


    private MailContentType(String note) {
        this.note = note;
    }

    public boolean isText() {
        return TEXT.equals(this);
    }
}
